<!--<div class="gold_frame"></div>-->
<div class="gold_view_header">
    <div class="gold_view_left"></div>
    <div class="gold_view_right"></div>
    <div class="gold_view_footer"></div>
</div>

<div class="gold_view">
<table cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <?php
            //VarDumper::dump($data->attributes);
            echo CHtml::image(Yii::app()->baseUrl.'/images/avatars/'
                .$data->cat_id, $data->name, array('height'=>300));
            ?>
        </td>
        <td class="description">
            <div>
                <div class="mainInfo">
                <h2><b><?php echo CHtml::encode($data->name); ?></b></h2>

                <h3>
                    <b><?php echo CHtml::encode($data->getAttributeLabel('birthday')); ?>:</b>
                 <?php echo CHtml::encode($data->birthday); ?>
                </h3>

                <h3>
                    <b><?php echo CHtml::encode($data->getAttributeLabel('color')); ?>:</b>
                    <?php echo CHtml::encode($data->color); ?>
                </h3>

                </div>
            </div>

            <br/>

            <div class="additionalInfo">
                <?php echo CHtml::encode($data->description); ?>
            </div>


            <table style="width:100%">
                <tr>
                    <td>
                        <?php echo CHtml::link(Yii::t('main', 'Photos'), array('gallery/cat', 'id' => $data->gal_id)); ?>
                    </td>
                    <td>
                        <?php echo CHtml::link(Yii::t('main', 'Genealogy'), array('genealogy/tree', 'id' => $data->cat_id)); ?>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>


</div>
